//
//  Order.h
//  WHB_logist
//
//  Created by 徐国庆 on 15/12/28.
//  Copyright (c) 2015年 turing. All rights reserved.
//

#import <Mantle/Mantle.h>
#import "UtilsHelper.h"
#import <Foundation/Foundation.h>

@interface Order : MTLModel<MTLJSONSerializing>

//当前货单model字段
@property(nonatomic, assign)NSInteger  orderId;             //货单id
@property(nonatomic, strong)NSString  *orderNo;             //货单号
@property(nonatomic, strong)NSString  *startAddressName;    //出发地
@property(nonatomic, strong)NSString  *endAddressName;      //目的地
@property(nonatomic, strong)NSString  *mediumName;          //货物介质
@property(nonatomic, strong)NSString  *weight;              //货物重量
@property(nonatomic, strong)NSString  *expectFreight;       //成交价
@property(nonatomic, strong)NSString  *licensePlate;        //车辆牌号
@property(nonatomic, strong)NSString  *orderStatus;         //货单状态
@property(nonatomic, strong)NSString  *driverTelNum;        //司机手机号

// 历史货单model增加字段
@property(nonatomic, strong)NSString  *loadGoodsTime;      //发货时间
@property(nonatomic, strong)NSString  *note;               //备注

// 货单详情model新增字段
@property(nonatomic, strong)NSString  *receiptOrgName;       //收货企业名称
@property(nonatomic, strong)NSString  *receiptOrgAuthStatus; //收货企业是否认证
@property(nonatomic, strong)NSString  *receiptGoodsTelNum;   //收货电话
@property(nonatomic, strong)NSString  *carrierOrgName;       //承运企业名称
@property(nonatomic, strong)NSString  *carrierOrgAuthStatus; //承运企业是否认证
@property(nonatomic, strong)NSString  *carrierOrgTelNum;     //承运企业电话
@property(nonatomic, strong)NSString  *getOrgName;           //取货企业名称
@property(nonatomic, strong)NSString  *getOrgAuthStatus;     //取货企业是否认证
@property(nonatomic, strong)NSString  *getGoodsTelNum;       //取货电话
@property(nonatomic, strong)NSString  *orderTime;            //下单时间
@property(nonatomic, strong)NSString  *grabTime;             //抢单时间
@property(nonatomic, strong)NSString  *takeTime;             //取货确认时间
@property(nonatomic, strong)NSString  *deliveryTime;         //送达确认时间
@property(nonatomic, strong)NSString  *signTime;             //签收确认时间
@property(nonatomic, strong)NSString  *driverEvaluationStar; //车主评价星级
@property(nonatomic, strong)NSString  *driverEvaluationTimes;//车主评价次数
@property(nonatomic, strong)NSString  *ownerEvaluationStar;  //货主评价星级
@property(nonatomic, strong)NSString  *ownerEvaluationTimes; //货主评价次数
@property(nonatomic, strong)NSString  *orgEvaluationStar;    //物流商评价星级
@property(nonatomic, strong)NSString  *orgEvaluationTimes;   //物流商评价次数

@end
